<script setup lang="ts">
import { useAttrs } from 'vue'
const attrs = useAttrs()
console.log(attrs)
const props = defineProps(['count'])
console.log(props)
</script>

<template>
  <div>
    <div class="son">儿子</div>
    <div>{{ count }}</div>
  </div>
</template>

<style scoped>
.son {
  width: 200px;
  height: 200px;
  background: pink;
}
</style>
